sequenceDiagram
    participant 用户
    participant Client
    participant Server
    participant Redis
    用户 ->> Client: 点击登录
    Client ->> Server: 提交用户名/密码
    Server ->> Server: 验证凭证
    Server ->> Redis: SET token:<user_id> <token> EX 3600
    Server ->> Client: 返回 Token
    Client ->> 用户: cookie(token)
